package top.hzy520.sales.dao;

import org.apache.ibatis.annotations.Mapper;
import top.hzy520.sales.entity.SalesItem;

import java.util.List;

@Mapper
public interface SalesItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SalesItem record);

    int insertSelective(SalesItem record);

    SalesItem selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SalesItem record);

    int updateByPrimaryKey(SalesItem record);

    List<SalesItem> selectBySkuId(Long id);
}